package com.iminutes.service.impl;

import com.iminutes.dao.UserDao;
import com.iminutes.service.UserService;

/**
 * @Description TODO
 * @Author liyuhua
 * @Date 2021/8/5 15:34
 **/
public class UserServiceImpl implements UserService {
    //引用类型，使用set注入
    private UserDao userDao;
    private String username;
    private String pass;



    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        System.out.println(username+"===="+pass);
        userDao.getUser();
    }


    public UserDao getUserDao() {
        return userDao;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }
}
